package org.batatasframework.web.ui;

import org.batatasframework.web.element.AbstractElement;
import org.batatasframework.web.script.JavaScript;

public class Component {
	
	
	
	private String key;
	
	/** 生成组件时所需要的js */
	private JavaScript javaScript;
	
	/** 对应需要生成的界面的元素 */
	private AbstractElement element;
	
	public AbstractElement getElement() {
		return element;
	}
	
	public String getKey() {
		return key;
	}
}
